export default {
	data() {
		return {
		}
	} ,
	methods: {
		copyOptions: function () {
			uni.setClipboardData({
			    data: this.msg,
			    success: function () {
			        uni.showToast({
			            title: '复制成功',
			            duration: 2000
			        });
			    } ,
				fail : function () {
					console.log('fail');
				}
			});
		}
	} ,
	computed: {
		typeOf: function (StyleType) {
			return this.type == StyleType
		} ,
	} ,
	
	props: {
		type: {
			type: String ,
			default: '1'
		} ,
		tag: String ,
		msg: String ,
		copy: {
			type: Boolean,
			default: false
		}
	}
}